<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

	<head>
	 	<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>
			${typeName }
		</title>
		<script type="text/javascript">
			var estimatePath = '<%=context%>' +'business/estimateInfo/';
			//默认加载
			$(function(){
				//把访问路径传到js
				setPathPrefix(estimatePath);
			});
		</script>
	</head>
	
	<body class="sub-page">
	    <form id="estimateForm" name="estimateForm" role="form" method="post" class="form-horizontal">
	    	<fieldset>
		 		<div class="page-content">
				    <div class="page-header">
						<h4 class="page-title">
							${typeName }
						</h4>
						<input type="hidden" id="attSource" name="attSource" value="${attSource}">
						<input type="hidden" id="estimateId" name="estimateId" value="${estimateId}">
				    </div>
				    <div class="page-body">
				    	<div class="form-group">
			                <label class="col-sm-2 control-label">产品名称<span class="text-danger">*</span></label>
			                <div class="col-sm-10 form-inner">
			                    <select class="form-control" name="prjCode" id="prjCode" disabled="disabled"  placeholder="产品简称" >
				                    <c:if test="${!empty prjsname}">
				                    	<option value="${prjCode}">${prjsname}</option>
				                    </c:if>
			                    </select>
			                </div>
			            </div>
		            	<div class="form-group">
			                <label class="col-sm-2 control-label">估值日期<span class="text-danger">*</span></label>
			                <div class="col-sm-10 form-inner">
			 					<input class="form-control" placeholder="估值日期" id="reportTime" disabled="disabled" name="reportTime" value='<c:if test="${!empty reportTime}">${reportTime}</c:if>'>
							</div>
			                </div>
			            </div>
			            
					<%-- 	<div class="form-group">
			            	<label class="col-sm-2 control-label">报告类型<span class="text-danger">*</span></label>
				            <div class="col-sm-10 form-inner">
				            	<select class="form-control" name="reportType" id="reportType">
			                    	<option value=""></option>
			                    	<c:forEach var="dictDto" items="${dicList}">
										<option value="${dictDto.dctValue }">${dictDto.dctName }</option>
									</c:forEach>
			                    </select>
							</div>
				        </div> --%>
				        
			            
			            <div class="panel-body">
							<!-- 附件展示上传 -->
							<jsp:include page="../../../system/sys/attach/attachView.jsp">
								<jsp:param name="attachList" value="${attachList}"/>
								<jsp:param name="resourceId" value=""/>
								<jsp:param name="module" value="invest" />
								<jsp:param name="hasPermission" value="true" />
								<jsp:param name="resourceSign" value="ESTIMATE_MODULE"/>
								<jsp:param name="resourceSignModule" value="${attSource}"/>
								<jsp:param name="hidAttIdField"  value="{{attId}}"/>
							</jsp:include>
						</div>
				    
				    <div class="page-footer" >
						<button type="button" id="submitBtn" class="btn btn-primary btn-save btn-loading btn-w-xs" data-loading-text="<i class='ico-loading'></i>" onclick="ESTIMATE_UPLOAD.submitForm()">提交</button>
						<button type="button" id="cancelBtn" class="btn btn-link btn-w-xs" onclick="window.close();">取消</button>
					</div>
				</div>
			</fieldset>
		</form>
	</body>
<script type="text/javascript" src="<%=context%>resources/modules/business/customerEquity/estimate/uploadEstimate.js?r=<%=Math.random()%>"></script>
</html>